package com.gc.business.service;

import com.gc.business.domain.CommunityManage;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gc.system.domain.SysUser;

/**
 * 小区管理 服务层
 * 
 * @author hruiyan
 * @date 2020-11-12
 */
public interface ICommunityManageService extends IService<CommunityManage> {
    /**
    * 列表查询
    */
    List<CommunityManage> list(CommunityManage communityManage);

    /**
     * 查询政府机构管辖的所有小区列表
     * @param attrId
     * @return
     */
    public List<CommunityManage> selectCommunityByAttrId(Long attrId);

    /**
     * 搜索用户查看的小区
     * @param sysUser
     * @param communityManage
     * @return
     */
    public List<CommunityManage> searchCommunityList(SysUser sysUser, CommunityManage communityManage,Integer pageNum,Integer pageSize);
}
